var app = sm("do_App");
var page = sm("do_Page");
var nf = sm("do_Notification");
var circleHelper = require("helper/circle");

ui("$").setMapping({
	"do_Label_title.tag":"id",
	"do_Label_title.text":"name",
	"do_Label_desc.text":"remark",
	"do_ImageView_icon.source":"fullLogo"
});

//点击一个圈子
ui("$").on("touch", function(data){
	var circleId = ui("do_Label_title").tag;
	var circleName = ui("do_Label_title").text;
	circleHelper.toCircleDetail(circleId,circleName);
});
